package org.x.yuenovel.contants;

import lombok.AccessLevel;
import lombok.NoArgsConstructor;

/**
 * @author xuezhendong
 * @date 2022/4/23 3:05 下午
 */
@NoArgsConstructor(access = AccessLevel.PRIVATE)
public class CommonConstant {
    public static final String EMAIL_HOST = "ses.tencentcloudapi.com";
    public static final String EMAIL_FROM_ADDRESS = "noreply@yue-novel.vip";
    public static final Integer USERNAME_LEN_MIN = 2;
    public static final Integer USERNAME_LEN_MAX = 20;
    public static final Integer PASSWORD_LEN_MIM = 6;
    public static final Integer PASSWORD_LEN_MAX = 20;

    /**
     * 邮箱验证码有效时间30分钟
     */
    public static final Integer EMAIL_CAPTCHA_DURATION = 30;
}
